import request from '@/utils/request';

export function uploadfiles(data:any){
    return request({
        url: import.meta.env.VITE_BASE_UPLOAD+'/upload/uploadfiles',
        method:'post',
        transformRequest:[function(data){
			const formdata=new FormData();
			formdata.append('file[]',data.file)
          
			return formdata;
		}],
        data
    })
}